package com.qk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: chouh
 * @DateTime: 2025/10/11 16:07
 * @Description: 课程实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Course {

    private Integer id;

    private Integer subject;

    private String name;

    private Integer price;

    private Integer target;

    private String description;

    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
